package com.ken.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ken.entity.Orders;
import com.ken.vo.OrderReportVO;
import com.ken.vo.SalesTop10ReportVO;
import com.ken.vo.TurnoverReportVO;
import com.ken.vo.UserReportVO;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;

public interface ReportService extends IService<Orders> {
    TurnoverReportVO getInfoTurnoverStatistics(LocalDate begin, LocalDate end);

    UserReportVO getInfoUserStatistics(LocalDate begin, LocalDate end);

    OrderReportVO getOrderStatistics(LocalDate begin, LocalDate end);

    SalesTop10ReportVO getSalesTop10(LocalDate begin, LocalDate end);

    void exportBusinessData(HttpServletResponse response);
}
